﻿using huaxin_Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace huaxin_DAO
{
    public class huaxin_LuckDrawDao
    {

        /// <summary>
        /// 获取所有奖品池
        /// </summary>
        /// <returns></returns>
        public List<huaxin_luckdraw> GetLuckdrawAll()
        {
            List<huaxin_luckdraw> luckdraws = new List<huaxin_luckdraw>()
            {
                new huaxin_luckdraw() {Id=1001,Level=1,Name="1",Probability=0 },
                new huaxin_luckdraw() {Id=1002,Level=2,Name="2",Probability=2 },
                new huaxin_luckdraw() {Id=1003,Level=3,Name="3",Probability=3 },
                new huaxin_luckdraw() {Id=1004,Level=4,Name="4",Probability=10 },
                new huaxin_luckdraw() {Id=1005,Level=5,Name="5",Probability=20 },
                new huaxin_luckdraw() {Id=1006,Level=6,Name="6",Probability=30 },
                new huaxin_luckdraw() {Id=1007,Level=7,Name="7",Probability=40 },
                new huaxin_luckdraw() {Id=1008,Level=8,Name="8",Probability=50 },
            };

            return luckdraws;
        }

    }
}
